﻿using Nop.Web.Framework.Models;
using Nop.Web.Framework.Mvc.ModelBinding;

namespace Nop.Web.Areas.Admin.Models.ExternalAuthentication;

/// <summary>
/// Represents an external authentication method model
/// </summary>
public partial record ExternalAuthenticationMethodModel : BaseNopModel, IPluginModel
{
    #region Properties

    [NopResourceDisplayName("Admin.Configuration.Authentication.ExternalMethods.Fields.FriendlyName")]
    public string FriendlyName { get; set; }

    [NopResourceDisplayName("Admin.Configuration.Authentication.ExternalMethods.Fields.SystemName")]
    public string SystemName { get; set; }

    [NopResourceDisplayName("Admin.Configuration.Authentication.ExternalMethods.Fields.DisplayOrder")]
    public int DisplayOrder { get; set; }

    [NopResourceDisplayName("Admin.Configuration.Authentication.ExternalMethods.Fields.IsActive")]
    public bool IsActive { get; set; }

    [NopResourceDisplayName("Admin.Configuration.Authentication.ExternalMethods.Configure")]
    public string ConfigurationUrl { get; set; }

    public string LogoUrl { get; set; }

    #endregion
}